/*
 * @Author: Superficial
 * @Date: 2021-07-19 10:36:39
 * @LastEditTime: 2022-06-05 10:37:08
 * @Description: 值常量
 */

export const NULL = null
export const UNDEFINED = void 0

export const isNull = (value) => value === NULL
export const isUndefined = (value) => value === UNDEFINED
export const isNil = (value): value is null | void => isNull(value) || isUndefined(value)
